From 119d29dcb9490c541b9f5f22d1c4380508021b68 Mon Sep 17 00:00:00 2001 From: Kristian Rietveld Date: Mon, 31 Jan 2011 23:10:49 +0100 Subject: [PATCH] Only include gtktrayicon.h when building for X11 GtkTrayIcon depends on GtkPlug which is X11-specific. This fixes the build for Quartz. --- gtk/gtkstatusicon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkstatusicon.c b/gtk/gtkstatusicon.c index 422d0859d5..3888e3c257 100644 --- a/gtk/gtkstatusicon.c +++ b/gtk/gtkstatusicon.c @@ -38,7 +38,6 @@ #include "gtkmain.h" #include "gtkmarshalers.h" #include "gtksizerequest.h" -#include "gtktrayicon.h" #include "gtkprivate.h" #include "gtkwidget.h" #include "gtktooltip.h" @@ -48,6 +47,7 @@ #ifdef GDK_WINDOWING_X11 #include "gdk/x11/gdkx.h" +#include "gtktrayicon.h" #endif #ifdef GDK_WINDOWING_WIN32 -- 2.30.2